package com.electronicbusiness.file.api.controller;


import com.electronicbusiness.file.remote.service.IRemoteFileService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;


/**
 * @Author 15096
 * @ClassName FileApiController
 * @Date 2024/11/13 19:11
 * @Description
 **/
@RestController
@RequestMapping("/file/file-api")
public class FileApiController {

    @Autowired
    IRemoteFileService remoteFileService;

    @GetMapping("/doUpload")
    public String doUpload(){
        String resultStr = remoteFileService.doUpload();
        return resultStr;
    }
}
